//
//  RoomMateApplyTableViewCell.h
//  Fangmm
//
//  Created by ChaoZhou on 16/3/21.
//  Copyright © 2016年 com.fangmm. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol RoomMateApplyTableViewCellDelegate <NSObject>

-(void)acceptWithButton:(UIButton *)sender;
-(void)delineWithButton:(UIButton *)sender;
-(void)clickHeaderViewWithUserId:(NSString *)userId withUserName:(NSString *)userName;

@end

@interface RoomMateApplyTableViewCell : UITableViewCell
@property (nonatomic,copy)NSString *userId;
@property (nonatomic,copy)NSString *userName;
@property (weak, nonatomic) IBOutlet UIButton *headerButton;
@property (nonatomic,assign)id<RoomMateApplyTableViewCellDelegate>delegate;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIImageView *sexLabel;
@property (weak, nonatomic) IBOutlet UIButton *acceptButtonView;
@property (weak, nonatomic) IBOutlet UILabel *seatLabel;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
- (IBAction)acceptButtonClick:(id)sender;
- (IBAction)lookOverButtonClick:(id)sender;
- (IBAction)headerButtonClick:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *delineButtonView;

@end
